import { Common } from '@/shared/entities/common.entity';
import { Column, Entity } from 'typeorm';

@Entity()
export class Role extends Common {
  // 角色名
  @Column('text')
  name: string;
  // 权限
  @Column('')
  permissions: object;
}
